import {RouteRecordRaw} from 'vue-router'
import CustomLayout from '@/layout/CustomLayout.vue'

export default [
  {
    path: '/system',
    name: 'system',
    component: CustomLayout,
    children: [
      {
        path: 'index',
        name: 'index',
        component: () => import('@/views/system/index.vue')
      },
      {
        path: 'applications',
        name: 'applications',
        component: () => import('@/views/system/applications.vue')
      },
      {
        path: 'backup',
        name: 'backup',
        component: () => import('@/views/system/backup.vue')
      },
      {
        path: 'config',
        name: 'config',
        component: () => import('@/views/system/config.vue')
      }
    ]
  }
] as RouteRecordRaw[]
